import Vue from 'vue';
import {
    Button,
    Tooltip,
    Dialog,
    Row,
    Col,
    Input,
    Table,
    TableColumn,
    Checkbox,
    Loading,
    Form,
    FormItem,
    MessageBox,
    Message,
    Collapse,
    CollapseItem,
    Tabs,
    TabPane,
} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
const locale = require('element-ui/lib/locale/lang/zh-CN');
Vue.prototype.$ELEMENT = { locale: locale.default, size: 'mini', zIndex: 3000 };
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$message = Message;
Vue.use(Button);
Vue.use(Tooltip);
Vue.use(Dialog);
Vue.use(Row);
Vue.use(Col);
Vue.use(Input);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Checkbox);
Vue.use(Loading);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Tabs);
Vue.use(TabPane);
// export default element